<template>
  <div>
    <el-dialog :title="title" :visible="WarehouseDialog" width="30%" @close="$emit('CloseFn')">
      <slot name="conent" />
      <slot name="Btns" />

    </el-dialog>
  </div>
</template>

<script>
export default {
  props: ['WarehouseDialog', 'title']
}
</script>

<style scoped>
.el-divider{
  margin: -20px 0px 15px 0px;
}
</style>
